package com.cqemme.hardwareservice.receive;


import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 短信接收者
 */
@Component
@Slf4j
public class NoteReceiver {


//    @RabbitListener(queues = "student-location")
    public void Receiver(String content){
        System.out.println(content);
        log.info("location:{}", content);
//        NoteMessage noteMap=JackSonUtils.strToBean(content, NoteMessage.class);
    }
}
